/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Beans;

/**
 *
 * @author Venus
 */
public class KhuyenMai {
    private int MaKM;
    private String TenKM;
    private int MaLKM;
    private int MaNN;
    private String NgayBD;
    private String NgayKT;
    private String NoiDungKM;
    private byte TinhTrang;
    public KhuyenMai(){
        MaKM = 0;
        TenKM = "";
        MaLKM = 0;
        MaNN = 0;
        NgayBD = "";
        NgayKT = "";
        NoiDungKM = "";
        TinhTrang = 0;
    }
    public void setMaKM (int value){
        MaKM = value;
    }
    public int getMaKM(){
        return MaKM;
    }
    public void setTenKM (String value){
        if(value == null)
            value = "";
        TenKM = value;
    }
    public String getTenKM(){
        return TenKM;
    }
    public void setMaLKM (int value){
        MaLKM = value;
    }
    public int getMaLKM(){
        return MaLKM;
    }
    public void setMaNN (int value){
        MaNN = value;
    }
    public int getMaNN(){
        return MaNN;
    }
    public void setNgayBD (String value){
        if(value == null)
            value = "";
        NgayBD = value;
    }
    public String getNgayBD(){
        return NgayBD;
    }
    public void setNgayKT (String value){
        if(value == null)
            value = "";
        NgayKT = value;
    }
    public String getNgayKT(){
        return NgayKT;
    }
    public void setNoiDungKM (String value){
        if(value == null)
            value = "";
        NoiDungKM = value;
    }
    public String getNoiDungKM(){
        return NoiDungKM;
    }
    public void setTinhTrang (byte value){
        TinhTrang = value;
    }
    public byte getTinhTrang(){
        return TinhTrang;
    }

}
